export interface SimulBaseInfo {
  sim_config_id: string | undefined
  /** 仿真资源名称 */
  sim_config_name: string
  /** 仿真资源描述 */
  sim_config_describe: string
  /** 仿真资源文件路径 */
  sim_config_files_path: string
  /** 仿真资源文件路径 */
  sim_config_path?: string
}

export interface TableRequestData {
  /** 仿真资源名称 */
  sim_config_name?: string
  /** 发布时间 */
  publish_time?: string
  /** 截至时间 */
  end_time?: string
}

export interface PageTableRequestData extends TableRequestData {
  /** 当前页码 */
  current_page: number
  /** 查询条数 */
  size?: number
}

export interface TableData {
  create_user: {
    user_id: string
    user_name: string
    user_position: string
  }
  create_time: string
}
export interface SimulTableData extends SimulBaseInfo, TableData {
  sim_config_id: string
}
export type SearchSimulTableResponseData = ApiResponseData<{
  total_pages: number
  total_count: number
  page_info: SimulTableData[]
}>
export type SimulInfoResponseData = ApiResponseData<SimulBaseInfo>
export type SimulViewInfoResponseData = ApiResponseData<SimulBaseInfo>
export type SimulListResponseData = ApiResponseData<SimulTableData[]>
